﻿
using FreeSql.DataAnnotations;

namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 零件缓存信息
    /// </summary>
    [SugarTable("cks_part_cache")]
    [Table(Name = "cks_part_cache")]
    public class CksPartCache : BaseEntity
    {
        /// <summary>
        /// 主键 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 零件类型 
        /// </summary>
        public int PartType { get; set; }

        /// <summary>
        /// 零件名称 
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 清洗线数量 
        /// </summary>
        public int CleaningLineCount { get; set; }

        /// <summary>
        /// 缓存线数量 
        /// </summary>
        public int CacheLineCount { get; set; }

        /// <summary>
        /// 缓存线最小数量 
        /// </summary>
        public int CacheLineMinCount { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? Created { get; set; }

        /// <summary>
        /// 是否删除 
        /// </summary>
        public bool IsDeleted { get; set; }

    }
}